package java9_2;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Divide {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("please input a :");
        int a=sc.nextInt();
        System.out.println("input b:");
        int b=sc.nextInt();
        int c=a/b;
        System.out.println("商是："+c);
//        if(sc.hasNextInt()){
//            b=sc.nextInt();
//            int c=a/b;
//            System.out.println("商是："+c);
//        }else{
//            System.out.println("输入的不是数字！");
//        }

    }
}
